home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 045a / nutil5.zip / ADMIN.MDF next >
Text File  |  1991-09-16  |  4KB  |  161 lines

  1. .I am still working on this...
  2. .
  3. .   Sample of Menu Definition file  for use with Net Inc.'s  NetMenu (TM)
  4. .
  5. .
  6.  
  7. . Drive:\Path to create Batch File
  8. =H:\tmp
  9.  
  10. . Title Screen
  11. !'    User: %LOGIN_NAME',L:2,'Your Company Name',C,'Station: %STATION ',R:77
  12. ['Free Mem: %FREE_MEM'L:2,    '%HOUR:%MINUTE %AM_PM  %MONTH/%DAY/%YEAR',C,'Server: %SERVER',R:76
  13.  
  14.  
  15. %Administration,-1,-1,3
  16.  
  17. *Network Diagnostics, 10
  18. ('Network Diagnostic Utilities',C
  19. >1
  20.  
  21. *Network Documentation, 10
  22. ('Network Documentation Utilities',C
  23. >2
  24.  
  25.  
  26.  
  27. .........................................................................
  28. .                   First Window
  29. .
  30. % Network Diagnostics,-1,-1,2
  31.  
  32. *Display Network Card Status
  33. ('Display current status of specified workstation',C
  34. +rem @1"Type in UserName or Connection#"
  35. +ncard @1
  36. +cd \usr\%LOGIN_NAME
  37. +netmenu %THIS_MDF
  38.  
  39.  
  40. *Collect Network Card Status
  41. ('Collect current status of all attached workstations',C
  42. +h:
  43. +cd \usr\%LOGIN_NAME
  44. +nallcard
  45. +cd \usr\%LOGIN_NAME
  46. +netmenu %THIS_MDF
  47.  
  48. *Display Network Utilization
  49. ('Display workstation that have the most packet traffic',C
  50. +h:
  51. +cd \usr\%LOGIN_NAME
  52. +ntraffic
  53. +cd \usr\%LOGIN_NAME
  54. +netmenu %THIS_MDF
  55.  
  56.  
  57.  
  58.  
  59. .........................................................................
  60. .                   Second Window
  61. .
  62. % Network Documentation,-1,-1,2
  63.  
  64. *Document User Account
  65. ('Document User Account information',C
  66. +  rem #1"Please choose option:"
  67. +  rem #1.1[Save Document Only  (Y)]
  68. +  rem #1.2[Print Document      (P)]
  69. +  rem #1X
  70. +H:
  71. +cd \server\document
  72. +rem @1"Type in UserName"
  73. +nrptbind @1 Y
  74. +nrptscrp @1
  75. +if #1 == Y goto end
  76. +nprint @1.USR
  77. +nprint @1.SCR
  78. +:end
  79. +cd \usr\%LOGIN_NAME
  80. +netmenu %THIS_MDF
  81.  
  82. *Document Group Account
  83. ('Document Group Account information',C
  84. +  rem #1"Please choose option:"
  85. +  rem #1.1[Save Document Only  (Y)]
  86. +  rem #1.2[Print Document      (P)]
  87. +  rem #1X
  88. +H:
  89. +cd \server\document
  90. +rem @1"Type in GroupName"
  91. +nrptbind @1 N
  92. +if #1 == Y goto end
  93. +nprint @1.GRP
  94. +:end
  95. +cd \usr\%LOGIN_NAME
  96. +netmenu %THIS_MDF
  97.  
  98. *Document Queue Account
  99. ('Document Print Queue Account information',C
  100. +  rem #1"Please choose option:"
  101. +  rem #1.1[Save Document Only  (Y)]
  102. +  rem #1.2[Print Document      (P)]
  103. +  rem #1X
  104. +H:
  105. +cd \server\document
  106. +rem @1"Type in QueueName"
  107. +nrptbind @1 N
  108. +if #1 == Y goto end
  109. +nprint @1.QUE
  110. +:end
  111. +cd \usr\%LOGIN_NAME
  112. +netmenu %THIS_MDF
  113.  
  114. *Document Login Scripts
  115. ('Document Login Script information',C
  116. +  rem #1"Please choose option:"
  117. +  rem #1.1[Save Document Only  (Y)]
  118. +  rem #1.2[Print Document      (P)]
  119. +  rem #1X
  120. +H:
  121. +cd \server\document
  122. +rem @1"Type in UserName, GroupName, or SYSTEM for system"
  123. +nrptscrp @1
  124. +if #1 == Y goto end
  125. +if @1 == %SERVER nprint %SERVER.SCR
  126. +if @1 <> %SERVER nprint @1.SCR
  127. +:end
  128. +cd \usr\%LOGIN_NAME
  129. +netmenu %THIS_MDF
  130.  
  131. *Document File Ownership
  132. ('Document File Ownership of specified subdirectory',C
  133. +  rem #1"Please choose option:"
  134. +  rem #1.1[Save Document Only  (Y)]
  135. +  rem #1.2[Print Document      (P)]
  136. +  rem #1X
  137. +H:
  138. +cd \server\document
  139. +rem @1"Type in full subdirectory path"
  140. +nrptown @1
  141. +if #1 == P nprint nrptown.rpt
  142. +cd \usr\%LOGIN_NAME
  143. +netmenu %THIS_MDF
  144.  
  145. *Document PrintJob Configuration
  146. ('Document PrintJob Configuration',C
  147. +  rem #1"Please choose option:"
  148. +  rem #1.1[Save Document Only  (Y)]
  149. +  rem #1.2[Print Document      (P)]
  150. +  rem #1X
  151. +H:
  152. +cd \server\document
  153. +rem @1"Type in UserName or GroupName"
  154. +nrptpcon @1
  155. +if #1 == P nprint @1.con
  156. +cd \usr\%LOGIN_NAME
  157. +netmenu %THIS_MDF
  158.  
  159.  
  160. #
  161.